package com.anche.cywebnew.Utils.netsdk.product;

import com.anche.cywebnew.Utils.netsdk.pojo.DownloadPara;

import java.util.List;
import java.util.Map;

public interface Recorder {
    /**
     * 初始化SDK
     *
     * @return
     */
    Map<String, Object> doInit();

    /**
     * 登陆设备
     *
     * @param recordInfo 设备信息
     * @return
     */
    Map<String, Object> doLogin(String ip, int port, String username, String password);

    /**
     * 开始下载录像
     *
     * @param c  下载成功回调函数
     * @return
     */
    Map<String, Object> doDownload(Object m_hDownLoadHandle, List<DownloadPara> downloadParas);

}
